package com.ssy.lingxi.member.merchant.api.model.vo.paas;

import com.ssy.lingxi.member.merchant.api.handler.annotation.EnableDisableStatusAnno;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 会员权益相关接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-08-23
 */
public class BaseRightConfigStatusVO implements Serializable {
    private static final long serialVersionUID = -5341032581836617104L;

    /**
     * 权益类型枚举（定义在MemberRightTypeEnum中）
     */
    @NotNull(message = "权益枚举不能为空")
    @Positive(message = "权益枚举要大于0")
    private Integer typeEnum;

    /**
     * 状态
     */
    @EnableDisableStatusAnno
    private Integer status;

    public Integer getTypeEnum() {
        return typeEnum;
    }

    public void setTypeEnum(Integer typeEnum) {
        this.typeEnum = typeEnum;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
